{"version":3,"file":"popupcomponentsmaker.bundle.map.js","names":["this","BX","exports","main_popup","main_core_events","main_core","main_loader","_templateObject","PopupComponentsMakerItem","_EventEmitter","babelHelpers","inherits","_this","options","arguments","length","undefined","classCallCheck","possibleConstructorReturn","getPrototypeOf","call","html","Type","isDomNode","awaitContent","isBoolean","flex","isNumber","withoutBackground","backgroundColor","isString","backgroundImage","marginBottom","disabled","secondary","overflow","displayBlock","attrs","isPlainObject","minHeight","sizeLoader","asyncSecondary","Promise","layout","container","createClass","key","value","getLoader","loader","Loader","target","getContainer","size","_await","classList","add","showLoader","stopAwait","remove","hideLoader","show","hide","getContent","updateContent","node","Dom","clean","appendChild","setBackgroundColor","color","style","getMarginBottom","_this2","Tag","render","taggedTemplateLiteral","addClass","adjust","then","removeClass","EventEmitter","_templateObject$1","_templateObject2","_templateObject3","PopupComponentsMaker","_ref","id","content","width","cacheable","contentPadding","padding","blurBackground","isElementNode","contentWrapper","popup","items","blurBlackground","getItems","getItem","item","indexOf","push","getPopup","popupWidth","popupId","Popup","className","contentBackground","angle","offset","offsetLeft","offsetWidth","autoHide","closeByEsc","animation","getContentWrapper","getPopupContainer","setBlurBackground","subscribe","GLOBAL_TARGET","setTimeout","getContentContainer","overflowX","isShown","map","_item$html","sectionNode","getSection","isArray","innerSection","itemObj","_itemObj$html","adjustPromise","itemInner","isFunction","_item$html2","windowStyles","window","getComputedStyle","document","body","blurStyle","create","type","styles","createTextNode","stylesWithAngle","headStyle","head","querySelector","replace","close","UI","Main","Event"],"sources":["popupcomponentsmaker.bundle.js"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,GACrB,SAAUC,EAAQC,EAAWC,EAAiBC,EAAUC,GACxD,aAEA,IAAIC,EACJ,IAAIC,EAAwC,SAAUC,GACpDC,aAAaC,SAASH,EAA0BC,GAChD,SAASD,IACP,IAAII,EACJ,IAAIC,EAAUC,UAAUC,OAAS,GAAKD,UAAU,KAAOE,UAAYF,UAAU,GAAK,CAAC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